package com.snowcattle.game.executor.update.pool;

import com.snowcattle.game.executor.update.entity.IUpdate;
import com.snowcattle.game.executor.update.thread.dispatch.DispatchThread;

/**
 * 执行一个update
 */
public interface IUpdateExecutor {

    void executorUpdate(DispatchThread dispatchThread, IUpdate iUpdate, boolean firstFlag, int updateExcutorIndex);

    void startup();

    void shutdown();

}
